<?php
namespace Admin\Controller;
use Think\Controller;
class GoodsController extends CommonController {
	function showlist(){
		$info = D('Goods')->select();
		$this->assign('show',$info);
		$list = D('Artype')->where('type = 2')->select();
		$this->assign('list',$list);
		$this->display();
		}
	function typelist(){
		$info = D('Artype')->where('type = 2')->select();
		$this->assign('show',$info);
		$this->display();
		}
}